<%@ page language="java" contentType="text/html; charset=utf-8"%>   
<%@ taglib prefix="s" uri="/struts-tags" %>   
<%	
	String pathPrefix = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ pathPrefix + "/";
%>
<html>
    <head>
        <title></title>
        <%
			response.setHeader("Cache-Control","no-cache"); 
			response.setHeader("Cache-Control","no-store"); 
			response.setDateHeader ("Expires", 0); 
			response.setHeader("Pragma","no-cache"); 
		%>
        <base href="<%=basePath%>" />
		<script type="text/javascript" src="<%=pathPrefix%>/jsp/xmlTree/xloadtree/xtree.js"></script>
		<script type="text/javascript" src="<%=pathPrefix%>/jsp/xmlTree/xloadtree/xmlextras.js"></script>
		<script type="text/javascript" src="<%=pathPrefix%>/jsp/xmlTree/xloadtree/xloadtree.js"></script>
		<link type="text/css" rel="stylesheet" href="<%=pathPrefix%>/jsp/xmlTree/xloadtree/xtree.css" />
    </head>
    <body>         
     <script language="javascript">   	     	     	
	        <%=request.getAttribute("treejs")%>
	        	function toURL(state,data){
	     		if(state==1){
	     			return;
	     		}	     			     		
	     		var righttopFrame=window.parent.document.getElementById("rightFrame");
	     		var url=righttopFrame.src;
	     		righttopFrame.code=data;
	     		alert(data);
	     		if(righttopFrame.src==undefined){
	     			righttopFrame.src="<%=basePath%>jsp/pumpSubmitEntry/pumpRight.jsp?psProjectId="+data;	 
	     			return;   		
	     		}	     
	     		righttopFrame.src="<%=basePath%>jsp/pumpSubmitEntry/pumpRight.jsp?psProjectId="+data;	     	
	     	}     
	      </script>
	</body>
</html>
